Integrand size = 24, antiderivative size = 77 \[ \int \frac {1}{x \sqrt {a x^2+b x^3+c x^4}} \, dx=-\frac {\sqrt {a x^2+b x^3+c x^4}}{a x^2}+\frac {b \text {arctanh}\left (\frac {x (2 a+b x)}{2 \sqrt {a} \sqrt {a x^2+b x^3+c x^4}}\right )}{2 a^{3/2}} \]
[Out]
Time = 0.03 (sec) , antiderivative size = 77, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {1941, 1918, 212} \[ \int \frac {1}{x \sqrt {a x^2+b x^3+c x^4}} \, dx=\frac {b \text {arctanh}\left (\frac {x (2 a+b x)}{2 \sqrt {a} \sqrt {a x^2+b x^3+c x^4}}\right )}{2 a^{3/2}}-\frac {\sqrt {a x^2+b x^3+c x^4}}{a x^2} \]
[In]
[Out]
Rule 212
Rule 1918
Rule 1941
Rubi steps \begin{align*} \text {integral}& = -\frac {\sqrt {a x^2+b x^3+c x^4}}{a x^2}-\frac {b \int \frac {1}{\sqrt {a x^2+b x^3+c x^4}} \, dx}{2 a} \\ & = -\frac {\sqrt {a x^2+b x^3+c x^4}}{a x^2}+\frac {b \text {Subst}\left (\int \frac {1}{4 a-x^2} \, dx,x,\frac {x (2 a+b x)}{\sqrt {a x^2+b x^3+c x^4}}\right )}{a} \\ & = -\frac {\sqrt {a x^2+b x^3+c x^4}}{a x^2}+\frac {b \tanh ^{-1}\left (\frac {x (2 a+b x)}{2 \sqrt {a} \sqrt {a x^2+b x^3+c x^4}}\right )}{2 a^{3/2}} \\ \end{align*}
Time = 0.14 (sec) , antiderivative size = 87, normalized size of antiderivative = 1.13 \[ \int \frac {1}{x \sqrt {a x^2+b x^3+c x^4}} \, dx=\frac {-\sqrt {a} (a+x (b+c x))-b x \sqrt {a+x (b+c x)} \text {arctanh}\left (\frac {\sqrt {c} x-\sqrt {a+x (b+c x)}}{\sqrt {a}}\right )}{a^{3/2} \sqrt {x^2 (a+x (b+c x))}} \]
[In]
[Out]
Time = 0.12 (sec) , antiderivative size = 68, normalized size of antiderivative = 0.88
method | result | size |
pseudoelliptic | \(\frac {b x \ln \left (\frac {2 a +b x +2 \sqrt {a}\, \sqrt {c \,x^{2}+b x +a}}{x \sqrt {a}}\right )-b x \ln \left (2\right )-2 \sqrt {a}\, \sqrt {c \,x^{2}+b x +a}}{2 a^{\frac {3}{2}} x}\) | \(68\) |
default | \(-\frac {\sqrt {c \,x^{2}+b x +a}\, \left (2 a^{\frac {3}{2}} \sqrt {c \,x^{2}+b x +a}-b \ln \left (\frac {2 a +b x +2 \sqrt {a}\, \sqrt {c \,x^{2}+b x +a}}{x}\right ) a x \right )}{2 \sqrt {c \,x^{4}+b \,x^{3}+a \,x^{2}}\, a^{\frac {5}{2}}}\) | \(88\) |
risch | \(-\frac {c \,x^{2}+b x +a}{a \sqrt {x^{2} \left (c \,x^{2}+b x +a \right )}}+\frac {b \ln \left (\frac {2 a +b x +2 \sqrt {a}\, \sqrt {c \,x^{2}+b x +a}}{x}\right ) x \sqrt {c \,x^{2}+b x +a}}{2 a^{\frac {3}{2}} \sqrt {x^{2} \left (c \,x^{2}+b x +a \right )}}\) | \(97\) |
[In]
[Out]
none
Time = 0.28 (sec) , antiderivative size = 194, normalized size of antiderivative = 2.52 \[ \int \frac {1}{x \sqrt {a x^2+b x^3+c x^4}} \, dx=\left [\frac {\sqrt {a} b x^{2} \log \left (-\frac {8 \, a b x^{2} + {\left (b^{2} + 4 \, a c\right )} x^{3} + 8 \, a^{2} x + 4 \, \sqrt {c x^{4} + b x^{3} + a x^{2}} {\left (b x + 2 \, a\right )} \sqrt {a}}{x^{3}}\right ) - 4 \, \sqrt {c x^{4} + b x^{3} + a x^{2}} a}{4 \, a^{2} x^{2}}, -\frac {\sqrt {-a} b x^{2} \arctan \left (\frac {\sqrt {c x^{4} + b x^{3} + a x^{2}} {\left (b x + 2 \, a\right )} \sqrt {-a}}{2 \, {\left (a c x^{3} + a b x^{2} + a^{2} x\right )}}\right ) + 2 \, \sqrt {c x^{4} + b x^{3} + a x^{2}} a}{2 \, a^{2} x^{2}}\right ] \]
[In]
[Out]
\[ \int \frac {1}{x \sqrt {a x^2+b x^3+c x^4}} \, dx=\int \frac {1}{x \sqrt {x^{2} \left (a + b x + c x^{2}\right )}}\, dx \]
[In]
[Out]
\[ \int \frac {1}{x \sqrt {a x^2+b x^3+c x^4}} \, dx=\int { \frac {1}{\sqrt {c x^{4} + b x^{3} + a x^{2}} x} \,d x } \]
[In]
[Out]
Exception generated. \[ \int \frac {1}{x \sqrt {a x^2+b x^3+c x^4}} \, dx=\text {Exception raised: TypeError} \]
[In]
[Out]
Timed out. \[ \int \frac {1}{x \sqrt {a x^2+b x^3+c x^4}} \, dx=\int \frac {1}{x\,\sqrt {c\,x^4+b\,x^3+a\,x^2}} \,d x \]
[In]
[Out]